/**
 * 作者: hxl
 * 日期: 2025-04-29 16:50:19
 * 备注: 联盟乱斗公告
 */
package com.motu.monstercity.server.game.userdata;


import com.motu.vertx.module.utility.toolset.TimeUtils;

public class UnionScuffleNotice extends UnionScuffleNoticeModel {
    public UnionScuffleNotice() {
        super();
    }

    public UnionScuffleNotice(UserInfo attacker, UnionInfo attackUnion, UnionInfo defendUnion, int totalMemberCount, int defeatMemberCount) {
        putUnionId(defendUnion.getId());
        putUnionName(defendUnion.getName());
        putAttackUnionId(attackUnion.getId());
        putAttackUnionName(attackUnion.getName());
        putAttackerName(attacker.getUserName());
        putAttackerIcon(attacker.getIcon());
        putTotalMemberCount(totalMemberCount);
        putDefeatMemberCount(defeatMemberCount);
        putAddTime(TimeUtils.getCurTime());
    }

}
